<template>
  <div>
    <ul class="staus">
      <li v-for="(item,index) in data" :key="index">
        <p class="number">订单编号：{{item.order_number}}</p>
        <p class="title">{{item.title}}</p>
        <p class="number" style="color:#777">时间: &nbsp;&nbsp;{{item.created_at | fomartTime('yyyy.MM.dd hh:mm')}}</p>
        <p class="number" style="color:#777;margin-top:-10px">
          实付款：
          <i class="iconfont icon-jinbi"></i>
          {{item.order_price | toFixPrice}}
        </p>
      </li>
    </ul>
  </div>
</template>

<script>
import { Icon } from "vant";
export default {
  props: {
    data: {
      type: Array
    }
  },
  components: {
    [Icon.name]: Icon
  },
  mounted() {
    document.body.style.background = "#fff";
  },
  data() {
    return {};
  }
};
</script>

<style scoped>
.hour_xq {
  padding-left: 10px;
}
.hour_tiem {
  width: 90px;
  height: 4px;
  background: #eee;
}
.hour {
  color: #777;
  padding-left: 10px;
  display: flex;
  align-items: center;
}
.cource_xq {
  padding-left: 10px;
  display: flex;
  align-items: center;
  color: #777;
}
.cource_xq > .icon {
  margin-right: 5px;
}
.iconfont {
  color: orange;
  font-size: 12px;
}
.staus {
  width: 90%;
  margin: 0 auto;
}
.staus > li {
  border: 1px rgb(230, 230, 230) solid;
  height: 127px;
  margin-top: 15px;
  border-radius: 5px;
  box-shadow: 0px 0px 4px #ccc
}
.staus > li>p {
  line-height: 12px;
  color: #777;
}
.staus > li>.number {
  padding: 10px;
  color: #000;
}
.staus > li>.title {
  font-size: 14px;
  color: #000;
  padding-left: 10px;
  margin-top: 10px;
}
</style>